package com.wing.cabinet.model.request;

import com.wing.cabinet.model.entity.CellInventoryInout;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * 售刀柜上货(上货主表无展示)/领取Form
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class CellInventoryInoutForm {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 存刀任务编号
     */
    private String code;

    /**
     * 配送单id
     */
    private Long deliveryId;

    private Long receiveId;

    /**
     * 操作类型
     */
    private CellInventoryInout.Type type;

    /**
     * 状态:
     */
    private Integer status;

    /**
     * no
     */
    private Integer no;

    /**
     * day
     */
    private Integer day;


    public interface Add{}

    public interface Update{}


    private List<CellInventoryInoutDetailForm> detailList;

    private String deviceCode;

    private Long receiveLoadId;

    private String orderCode;

    private CellInventoryInout.BusinessType businessType;

    private Long workOrderId;


    private Long departmentId;

    private String departmentName;

    private Boolean byPassword;

    private Long storesRequisitionId;

    /**
     * 企业编码
     */
    private String enterpriseCode;

    private BigDecimal total;

    private Long processId;

    private List<StoresRequisitionProductForm> requestProductList;

    private String roleName;

    private Long storageInventoryInoutId;

    private String costCenter;

    /**
     * uuid 字段
     */
    private String uuid;

    /**
     * 成功领新列表
     */
    private List<CellInventoryInoutDetailForm> successList;

    /**
     * 失败领新列表
     */
    private List<CellInventoryInoutDetailForm> failList;

    /**
     * 主柜编号
     */
    private String mainCabCode;
}
